<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>v-cload</title>
    <script src="../../js/vue3.js"></script>
    <style>
        #app {
            margin: 5rem auto;
            width: 50%;
            text-align: center;
        }
        
        p {
            font-size: 10rem;
            font-weight: bold;
        }
        [v-cloak]{
            display: none;
        }

    </style>
</head>

<body>
    <div id="app">
        <p v-cload>{{str}}</p>
        <p>{{str}}</p>
    </div>
    <script>
        setInterval(function() {
            const v_app = Vue.createApp({
                data() {
                    return {
                        str: "hi"
                    }
                }
            });
            v_app.mount("#app");
        }, 300);
    </script>
</body>

</html>